package com.wwl.base.common.excel.document;

import org.apache.poi.ss.usermodel.Workbook;

import java.io.IOException;
import java.io.InputStream;

/**
 * @author wwl
 * @version 1.0
 * @date 2021/2/8 11:23
 * @description:
 */
public interface DocumentFactory {

    Workbook getWriteableWorkbook();

    Workbook getReadableWorkbook(InputStream stream) throws IOException;
}
